﻿using Topics.Radical;
using Topics.Radical.Windows.Presentation.Boot;
using SampleApp.Presentation;
using SampleApp.Services;
using Windows.UI.Xaml;

namespace SampleApp
{
	sealed partial class App : Application
	{
		public App()
		{
			this.InitializeComponent();

			var bootstrapper = new PuzzleApplicationBootstrapper<MainView>()
				.OnBootCompleted( container =>
				{
					var service = container.GetService<NotificationService>();
					return service.Initialize();
				} );
		}
	}
}
